package org.linlinjava.litemall.db.service;

import org.linlinjava.litemall.db.dao.AgedmallExpressMapper;
import org.linlinjava.litemall.db.domain.AgedmallExpress;
import org.linlinjava.litemall.db.domain.AgedmallExpressExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AgedmallExpressService {
    @Resource
    private AgedmallExpressMapper agedmallExpressMapper;

    public List<AgedmallExpress> list() {
        AgedmallExpressExample example = new AgedmallExpressExample();
        example.createCriteria().andDeletedEqualTo(false);
        return agedmallExpressMapper.selectByExample(example);
    }
}
